<?php
class Model_Table_PropertyAttr extends Zend_Db_Table_Abstract {
	protected $_name = 'property_attr';
    protected $_primary = 'item_id';
	 public function getPrimaryKey() {
        if (is_array($this->_primary)) {
            return $this->_primary [1];
        } else {
            return $this->_primary;
        }
    }

    public function getTableName() {
        if (is_array($this->_name)) {
            return $this->_name [1];
        } else {
            return $this->_name;
        }
    }

}